package org.sws.types.common;

public class Constants {

    public final static String SPLIT = ",";
    public final static String COLON = ":";
    public final static String UNDERLINE = "_";
    public final static String SEMICOLON = ";";

    public static class RedisKey {

        public static final String RATE_LIMITER_BLACKLIST_COUNT_KEY = "big_market:ratelimiter_blacklist_count_key_";
        /* 活动相关 */
        public static String ACTIVITY_KEY = "big_market:activity_key_";
        public static String ACTIVITY_COUNT_KEY = "big_market:activity_count_key_";
        public static String ACTIVITY_SKU_KEY = "big_market:activity_sku_key_";
        public static String ACTIVITY_SKU_STOCK_COUNT_SURPLUS_KEY = "big_market:activity_sku_stock_count_surplus_key_";
        public static String ACTIVITY_SKU_COUNT_QUEUE_KEY = "big_market:activity_sku_count_queue_key";
        public static String ACTIVITY_ACCOUNT_LOCK = "big_market:activity_account_lock_";
        public static String ACTIVITY_ACCOUNT_UPDATE_LOCK = "big_market:activity_account_update_lock_";
        /* 策略相关 */
        public static String STRATEGY_AWARD_KEY = "big_market:strategy_award_key_";
        public static String STRATEGY_RATE_TABLE_KEY = "big_market:strategy_rate_table_key_";
        public static String STRATEGY_RATE_RANGE_KEY = "big_market:strategy_rate_range_key_";
        public static String STRATEGY_KEY = "big_market:strategy_key_";
        public static String STRATEGY_AWARD_LIST_KEY = "big_market:strategy_award_list_key_";
        public static String STRATEGY_RULE_WEIGHT_KEY = "big_market:strategy_rule_weight_key_";
        public static String STRATEGY_ARMORY_ALGORITHM_KEY = "big_market:strategy_armory_algorithm_key_";

        /* 规则相关 */
        public static String RULE_TREE_VO_KEY = "big_market:rule_tree_vo_key_";
        /* 奖品相关 */
        public static String STRATEGY_AWARD_STOCK_KEY = "big_market:strategy_award_stock_key_";
        public static String STRATEGY_AWARD_COUNT_QUEUE_KEY = "big_market:strategy_award_count_queue_key";
        /* 积分账户相关 */
        public static String USER_CREDIT_ACCOUNT_LOCK = "big_market:user_credit_account_lock_";
        public static String USER_CREDIT_RANDOM_LOCK = "big_market:user_credit_random_lock_";
    }


}
